package cn.edu.zut.cs.Model;

import org.springframework.stereotype.Component;

@Component
public class User {
    private String UserName;
    private String PassWord;
    private String Role;
    private int PhoneNum;
    private int BookNum;
    private int UserID;
    private int VIPLotID;
    private String VIPTime;
    private String BookTime;

    public String getUserName(String userName) {
        return UserName;
    }
    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getPassWord(String password) {
        return PassWord;
    }

    public void setPassWord(String password) {
        PassWord = password;
    }

    public String getRole(String role) {
        return Role;
    }

    public void setRole(String role) {
        Role = role;
    }

    public int getPhoneNum() {
        return PhoneNum;
    }

    public void setPhoneNum(int phoneNum) {
        PhoneNum = phoneNum;
    }

    public int getBookNum() {
        return BookNum;
    }

    public void setBookNum(int bookNum) {
        BookNum = bookNum;
    }

    public int getUserID() {
        return UserID;
    }

    public void setUserID(int userID) {
        UserID = userID;
    }

    public int getVIPLotID() {
        return VIPLotID;
    }

    public void setVIPLotID(int VIPLotID) {
        this.VIPLotID = VIPLotID;
    }

    public String getPassWord() {
        return PassWord;
    }

    public String getRole() {
        return Role;
    }

    public String getVIPTime() {
        return VIPTime;
    }

    public void setVIPTime(String VIPTime) {
        this.VIPTime = VIPTime;
    }

    public String getBookTime() {
        return BookTime;
    }

    public void setBookTime(String bookTime) {
        BookTime = bookTime;
    }

    @Override
    public String toString() {
        return "User{" +
                "UserName='" + UserName + '\'' +
                ", PassWord='" + PassWord + '\'' +
                ", Role='" + Role + '\'' +
                ", PhoneNum=" + PhoneNum +
                ", BookNum=" + BookNum +
                ", UserID=" + UserID +
                ", VIPLotID=" + VIPLotID +
                ", VIPTime='" + VIPTime + '\'' +
                ", BookTime='" + BookTime + '\'' +
                '}';
    }
}
